import React from 'react';
import { Link } from 'react-router';

import {mixin} from "core-decorators";
import { shouldComponentUpdate } from 'react-immutable-render-mixin';

@mixin({shouldComponentUpdate})
export default class Index extends React.Component {
    render() {
        return (
            <div className="am-text-center">
                欢迎来到 react+redux+react 测试基地{this.props.username}
                <div>
                    {this.props.children}
                </div>
            </div>
        );
    }
}